/*
 * loadingscreen.h
 *
 *  Created on: 04-May-2009
 *  			16-May-2009
 *      Author: catchthealien
 */

#ifndef LOADINGSCREEN_H_
#define LOADINGSCREEN_H_

#include <crystalspace.h>

namespace cta {

class loadingscreen {
private:
	csSimplePixmap* alien_;
	csSimplePixmap* police_;
	csSimplePixmap* stars_;
	int screenx_;
	int screeny_;
	/// A pointer to the 3D renderer plugin.
	csRef<iGraphics3D> g3d;

public:
	loadingscreen();
	virtual ~loadingscreen();
	bool Init(int screenx, int screeny);
	bool Stage1();
	bool Stage2();
	void LoadPixmap();
	bool End();
};

}

#endif /* LOADINGSCREEN_H_ */
